#ifndef _ADDRESSBOOK_
#define _ADDRESSBOOK_

#include <iostream>
#include <cstring>

using namespace std;

class AddressBook
{
    private:
        char *studentName;
        char *studentSchool;
        char *phoneNumber;
        char *mailBox;

    public:
        void print();
        char *GetName();
        char *GetSchool();
        char *GetNum();
        char *GetBox();

        //构造函数
        AddressBook();
        AddressBook(const char* studentName, const char* studentSchool, const char* phoneNumber, const char* mailBox);

        //析构函数
        ~AddressBook();
};

#endif